//
//  WebViewController.h
//  Cachalot
//
//  Created by Adam Cue on 6/25/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CachalotApplication.h"

@interface WebViewController : UIViewController <UIWebViewDelegate, UIActionSheetDelegate> {
   IBOutlet UIButton * _backButton;
   IBOutlet UIButton * _forwardButton;
   IBOutlet UIButton * _stopRefreshButton;
   IBOutlet UIButton * _actionButton;
   IBOutlet UIBarButtonItem * _actionBarButtonItem;
   IBOutlet UIToolbar * _topBar;
   UIWebView * _webView;
   NSString * _url;
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil address:(NSString *)address;
- (IBAction)doneButtonPressed:(id)sender;
- (IBAction)backButtonPressed:(id)sender;
- (IBAction)forwardButtonPressed:(id)sender;
- (IBAction)actionButtonPressed:(id)sender;

@property (nonatomic, retain) UIWebView * webView;
@property (nonatomic, retain) NSString * url;

@end
